import Vue from 'vue'
import App from './App'

//全局组件注册
import uniGrid from '@/components/uni-grid/uni-grid.vue'
import uniIcon from "@/components/uni-icon/uni-icon.vue"
import uniNumberBox from "@/components/uni-number-box/uni-number-box.vue"
import lvvPopup from '@/components/lvv-popup/lvv-popup.vue'
import specifications from '@/components/specifications/specifications.vue'
import sunsinUpimg from '@/components/sunui-upimg/sunui-upimg.vue'
import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
import uniSwipeAction from "@/components/uni-swipe-action/uni-swipe-action.vue"
import tkiQrcode from "@/components/tki-qrcode/tki-qrcode.vue"
import uniTable from "@/components/t-table/t-table.vue"
import uniTr from "@/components/t-table/t-tr.vue"
import uniTd from "@/components/t-table/t-td.vue"
import uniTh from "@/components/t-table/t-th.vue"
Vue.component('uni-grid',uniGrid)
Vue.component('uni-icon',uniIcon)
Vue.component('uni-number-box',uniNumberBox)
Vue.component('lvv-popup',lvvPopup)
Vue.component('specifications',specifications)
Vue.component('sunsin-upimg', sunsinUpimg)
Vue.component('mpvue-city-picker', mpvueCityPicker)
Vue.component('uni-swipe-action',uniSwipeAction)
Vue.component('tki-qrcode',tkiQrcode)
Vue.component('tki-qrcode',tkiQrcode)
Vue.component('uni-table',uniTable)
Vue.component('uni-tr',uniTr)
Vue.component('uni-td',uniTd)
Vue.component('uni-th',uniTh)

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()

//挂载 全局变量
Vue.prototype.accesstoken = '';
Vue.prototype.userId = '';
Vue.prototype.checkAdd = '';
